#!/usr/bin/env python
# -*- coding:utf-- -*-
# __author__ = "liangpp"
# Date: 2023/1/4


from django.urls import path, re_path, include
from workload.views import deployment, statefulset, daemonset, pods, dp_tabledata, ds_tabledata, sts_tabledata, \
    pod_tabledata, dp_details, replicaset_api, web_terminal, log_terminal

urlpatterns = [
    path('deployment/', deployment, name="deployment"),
    path('statefulset/', statefulset, name="statefulset"),
    path('daemonset/', daemonset, name="daemonset"),
    path('pods/', pods, name="pods"),
    path('dp_tabledata/', dp_tabledata, name="dp_tabledata"),
    path('ds_tabledata/', ds_tabledata, name="ds_tabledata"),
    path('sts_tabledata/', sts_tabledata, name="sts_tabledata"),
    path('pod_tabledata/', pod_tabledata, name="pod_tabledata"),
    path('dp_details/', dp_details, name="dp_details"),  # dp详情页
    path('replicaset_api/', replicaset_api, name="replicaset_api"),  # dp详情页 rc数据表格
    path('web_terminal/', web_terminal, name="web_terminal"),  # pod 终端
    path('log_terminal/', log_terminal, name="log_terminal"),  # pod 日志
]
